package com.woniuxy.dao;

import com.woniuxy.entity.Absence;
import com.woniuxy.entity.Attendance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AbsenceDao {
   //添加
    void insertAbsence(Absence absence);

    //修改
    void updateAbsence(Absence absence);

    //查询
    List<Absence>selectAllAbsence(@Param("absence") Absence absence,
                                  @Param("pageIndex")int pageIndex,
                                  @Param("pageSize")int pageSize);

    //查询总条数
  int selectAbsenceCount(@Param("absence") Absence absence);



}
